// Career.java

// Start: $Id: remote.vm 7202 2005-08-10 16:24:21Z el-vadimo $
package career;

import javax.ejb.EJBLocalObject;

import descriptor.CareerDescriptor;

import user.User;

/**
 * Career interface
 * 
 * @author Mamadou TOURE
 * 
 * The Career interface defines all the business method that a client can invoke remotely 
 * on the object (CareerBean).
 * 
 * Note : 	-It extends the EJBLocalObject interface.
 */
public interface Career extends EJBLocalObject
{	
	// simple attributes
	public int getId();
	public void setId(int id);
	
	public String getLogin();
	public void setLogin(String login);
	
	public String getPassword();
	public void setPassword(String password);
	
	public String getFirstname();
	public void setFirstname(String firstname);
	
	public String getSurname();
	public void setSurname(String surname);
	
	public String getEmail();
	public void setEmail(String email);
	
	// Bean attributes
	// relations 1-1
	public User getUser();
	public void setUser(User user);
	
	public CareerDescriptor getDescriptor();
}
